package de.slothsoft.bookmaker.parse;

import de.slothsoft.bookmaker.ProgressMonitor;

public class ParseContext {

    private final ProgressMonitor progressMonitor;
    private String url;

    public ParseContext(ProgressMonitor progressMonitor) {
        this.progressMonitor = progressMonitor;
    }

    public String getUrl() {
        return this.url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public ParseContext url(String newUrl) {
        this.url = newUrl;
        return this;
    }

    public ProgressMonitor getProgressMonitor() {
        return this.progressMonitor;
    }
}
